﻿using System.Windows.Controls;
using Tp.Bootstrapper;
using Tp.Interfaces;

namespace Tp.Wpf.Dialogs
{
    public partial class Dialog : UserControl
    {
		#region Properties
		private IViewModelLocator ViewModelLocator
		{
			get
			{
				return IoC.ServiceLocator.Get<IViewModelLocator>();
			}
		} 
		#endregion

		#region C-Tor
		public Dialog()
        {
            InitializeComponent();
			this.DataContext = ViewModelLocator.Main;
		}
		#endregion
	}
}
